package com.sc.nft.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@Data
public class PermissionPackageMenuVO {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "列表名称")
    private String name;

    @ApiModelProperty(value = "路由地址")
    private String route;

    @ApiModelProperty(value = "类型 1:菜单 2:按钮")
    private Integer type;

    @ApiModelProperty(value = "父级id")
    private Long parentId;

    @ApiModelProperty(value = "按钮编码")
    private String code;

    @ApiModelProperty(value = "排序")
    private Integer sort;

    @ApiModelProperty(value = "状态 0:禁用 1:启用")
    private Integer status;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty("是否有权限 0:无权限 1:有权限")
    private Integer hasRole;

    @ApiModelProperty(value = "子集.包含子页面和按钮权限.")
    private List<PermissionPackageMenuVO> list;

}
